package com.iot.gateway.tsl.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author guoxinyu
 * @create 2025/5/26 17:00
 */
@Data
@TableName("tsl_property")
public class TslPropertyEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String propertyId;

    private String deviceId;
    private String propertyName;
    private String dataType;
    private String accessMode;
    private String measureUnit;
    private String defaultValue;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}

